function bar() {
    console.log(myname);

}
function foo(e) {
    var myname = '彭于晏'
    bar()
    console.log(myname);

}
var myname = '吴彦祖'
foo()


let count = 1
function main() {
    let count = 2
    function bar() {
        let count = 3
        function foo() {
            let count = 4
            console.log(count);
            
        }
        foo()
    }
    bar()
}
main()